/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86187
 * Date: 2022-04-17
 * Time: 19:34
 */

//Scanner scan = new Scanner(System.in);

import java.util.Scanner;

public class TestNode {

    public static int maxNum(int x, int y, int z) {
        int max = x;
        if(max < y) {
            max = y;
        }
        if(max < z) {
            max = z;
        }
        return max;
    }

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        System.out.println(maxNum(a,b,c));
        System.out.println();
    }
}

